package com.ruoyi.business.service;

import java.util.List;

import com.ruoyi.business.domain.ZrsDfGoal;
import com.ruoyi.business.domain.ZrsDfMain;
import com.ruoyi.business.domain.ZrsDfZbFslog;
import com.ruoyi.business.domain.zrsdfzb.ZrsGlxYjzb;

/**
 * 责任书打分Service接口
 * 
 * @author Yuhf
 * @date 2023-12-03
 */
public interface IZrsDfMainService 
{
    /**
     * 查询责任书打分
     * 
     * @param zrsMainId 责任书打分主键
     * @return 责任书打分
     */
    public ZrsDfMain selectZrsDfMainByZrsMainId(Long zrsMainId);

    /**
     * 查询责任书打分列表
     * 
     * @param zrsDfMain 责任书打分
     * @return 责任书打分集合
     */
    public List<ZrsDfMain> selectZrsDfMainDeptList(ZrsDfMain zrsDfMain);
    public List<ZrsDfMain> selectZrsDfMainUserList(ZrsDfMain zrsDfMain);
    
    //打分科室查询  列表
    public List<ZrsDfMain> selectZrsDfDeptList(ZrsDfMain zrsDfMain);
    
    /**查询  打分对应的管理项 **/
    public List<ZrsDfGoal> selectZrsDfMainGoalList(ZrsDfGoal zrsDfGoal);
    //根据管理项  查询对应的打分指标
    public List<ZrsGlxYjzb> selectZrsDfMainGoalZbListObj(ZrsDfGoal zrsDfGoal);
    
    
    /**
     * 新增责任书打分
     * 
     * @param zrsDfMain 责任书打分
     * @return 结果
     */
    public int insertZrsDfMain(ZrsDfMain zrsDfMain);

    /**
     * 修改责任书打分
     * 
     * @param zrsDfMain 责任书打分
     * @return 结果
     */
    public int updateZrsDfMain(ZrsDfMain zrsDfMain);
    
    public int saveZrsDf(ZrsDfZbFslog zrsDfZbFslog);
    
    public int saveZrsDfVeto(ZrsDfZbFslog zrsDfZbFslog);

    /**
     * 批量删除责任书打分
     * 
     * @param zrsMainIds 需要删除的责任书打分主键集合
     * @return 结果
     */
    public int deleteZrsDfMainByZrsMainIds(ZrsDfMain zrsDfMain);

    /**
     * 删除责任书打分信息
     * 
     * @param zrsMainId 责任书打分主键
     * @return 结果
     */
    public int deleteZrsDfMainByZrsMainId(Long zrsMainId);
    
    //汇算分数
    public int settleZrsDf(ZrsDfMain zrsDfMain);
}
